import {
	defineStore
} from 'pinia'


export const useAppStore = defineStore({
	id: 'app',
	state: () => {
		return {
			main: null,
			notice: null,
			link: null
		}
	},
	persist: true,
	actions: {
		setAppData(data) {
			this.main = data.main
			this.notice = data.notice
			this.link = data.link
		}
	}
})